API Documentation
StreamOutputDescriptor.h
1 // StreamOutputDescriptor.h
3 //
5 
6 namespace nkGraphics
7 {
14  {
15  public :
16 
25 
26  // Getters
30  unsigned int getStream () const ;
38  unsigned int getSemanticIndex () const ;
42  unsigned char getStartComponent () const ;
46  unsigned char getComponentCount () const ;
50  unsigned char getOutputSlot () const ;
51 
52  // Setters
58  void setStream (unsigned int value) ;
64  void setSemanticName (const nkMemory::StringView& value) ;
70  void setSemanticIndex (unsigned int value) ;
76  void setStartComponent (unsigned char value) ;
82  void setComponentCount (unsigned char value) ;
88  void setOutputSlot (unsigned char value) ;
89 
95  virtual void exportClassToTree (nkExport::Node* rootNode) override ;
101  virtual void importClassFromTree (nkExport::Node* rootNode) override ;
102  } ;
103 }
nkGraphics::StreamOutputDescriptor::getOutputSlot
unsigned char getOutputSlot() const
nkGraphics::StreamOutputDescriptor::getStream
unsigned int getStream() const
nkGraphics::StreamOutputDescriptor::setOutputSlot
void setOutputSlot(unsigned char value)
nkExport::Exportable
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
nkGraphics::StreamOutputDescriptor
Holds information about a stream output slot.
Definition: StreamOutputDescriptor.h:14
nkGraphics::StreamOutputDescriptor::setStream
void setStream(unsigned int value)
nkGraphics::StreamOutputDescriptor::setSemanticName
void setSemanticName(const nkMemory::StringView &value)
nkGraphics::StreamOutputDescriptor::setStartComponent
void setStartComponent(unsigned char value)
nkGraphics::StreamOutputDescriptor::importClassFromTree
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkGraphics::StreamOutputDescriptor::exportClassToTree
virtual void exportClassToTree(nkExport::Node *rootNode) override
nkGraphics::StreamOutputDescriptor::~StreamOutputDescriptor
~StreamOutputDescriptor()
nkGraphics::StreamOutputDescriptor::StreamOutputDescriptor
StreamOutputDescriptor()
nkExport::Node
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkGraphics::StreamOutputDescriptor::getComponentCount
unsigned char getComponentCount() const
nkGraphics::StreamOutputDescriptor::getSemanticName
nkMemory::StringView getSemanticName() const
nkGraphics::StreamOutputDescriptor::getSemanticIndex
unsigned int getSemanticIndex() const
nkGraphics::StreamOutputDescriptor::getStartComponent
unsigned char getStartComponent() const
nkGraphics::StreamOutputDescriptor::setComponentCount
void setComponentCount(unsigned char value)
nkMemory::StringView
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkGraphics::StreamOutputDescriptor::setSemanticIndex
void setSemanticIndex(unsigned int value)
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7